class Foo extends javax.swing.JPanel